<?php



$ruta=$_SERVER['DOCUMENT_ROOT']."/viventura"."/MDTour";
include_once("$ruta/conf/CConfig.php");
include_once("$ruta/elements/head.tpl");
include_once("$ruta/MDTourGeneral/CTourTableDraw.php");
include_once("$ruta/MDTourGeneral/CDrawPageReg.php");
include_once("$ruta/star.php");
include_once("$ruta/view/CDrawMenuTour.php");

$items=array("Nuevo Tour"=>"CSmallDefinePack.php","Nuevo paquete"=>"CTourEdit.php?codigo=159&default=2","Ver paquetes"=>"/viventura/MDTour/","Otra"=>"g");

CDrawMenuTour::getInstance()->setMenu($items);

CDrawMenuTour::getInstance()->DrawDivAdBegin("content_area_user_title","1");echo "<h1>Destino Sur</h1>";

CDrawMenuTour::getInstance()->rigth_side_begin();//empieza lado derecho 

    echo "<p align='center'>";
    $action="CRegistroOperador.php?servicio=1";$name="formulario_registro";$method="post";$NAME="Registro de servicio de operador";
    CDrawPageReg::getInstance()->DrawHead($action,$name,$method,$NAME);
    echo "</p>";
    
    //////////ID del servicio /////////
    CDrawPageReg::getInstance()->readOnly("actividades_has_tour_has_pasajero","idActPaxTour");
    ///////////////////
    
    
    echo "<h2> Operador </h2>";


    $campos = array("idOpe"=>"idOpe", "NamOpe"=>"NamOpe");
    CDrawPageReg::getInstance()->DrawSelect("operador", $campos, "Asignar a operador","idOpe");
  
    echo "<h2> Servicio </h2>";
    
    echo "<div id='dashboard_info'>";    
    $actividades = array("idAct"=>"idAct", "NomAct"=>"NomAct");
    CDrawPageReg::getInstance()->DrawDependenceOption("actividades", $actividades, "Asignar módulo","idAct","COperadorServicioSelect.php");
   

    echo "</div>";

  //ResPackTour	restaurant_idRest	DesSer	
  //pack_has_tour_idPackTour	SerFlag	DayActRes	
  //NumRecRes	DateActRes	CanIteRec	PriUni	
  //MonPag	MonSol	MonCha	
  //AceRec	MonTot	CodIte
	  //Service Flag es 1
      
    //idAct	NomAct	DescAct	PlaceAct	HourAct	ChargeAct  
      
CDrawPageReg::getInstance()->DrawSubmmit("Añadir");  
    
CDrawPageReg::getInstance()->DrawFoot();

CDrawMenuTour::getInstance()->rigth_side_end();

CDrawPageReg::getInstance()->DrawButton("Ver default tours","MDTourGeneral/index.php?default=1");
   
CDrawMenuTour::getInstance()->DrawDivAdEnd();


        
?>

